
import random
result = ''.join(str(random.choice(range(10))) for _ in range(8))
number=input("请输入您的8位中奖号码：")
print("中奖号码是：",result)
result=str(result)
number=str(number)
if result==number :
    print("恭喜中奖")
else:
    print("很抱歉您未中奖")

